import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect: '/ai-center'
  },
  {
    path: '/ai-center',
    name: 'AICenter',
    component: () => import('../views/ai-center/index.vue')
  },
  {
    path: '/ai-center/data-management',
    name: 'DataManagement',
    component: () => import('../views/ai-center/data-management/index.vue')
  },
  {
    path: '/ai-center/feature-engineering',
    name: 'FeatureEngineering',
    component: () => import('../views/ai-center/feature-engineering/index.vue')
  },
  {
    path: '/ai-center/model-training',
    name: 'ModelTraining',
    component: () => import('../views/ai-center/model-training/index.vue')
  },
  {
    path: '/ai-center/model-evaluation',
    name: 'ModelEvaluation',
    component: () => import('../views/ai-center/model-evaluation/index.vue')
  },
  {
    path: '/ai-center/model-monitoring',
    name: 'ModelMonitoring',
    component: () => import('../views/ai-center/model-monitoring/index.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 